SftTabs/NET 6.0

BackgroundImage Property, SftTabs Class

Softel vdm, Inc.

Defines the background image.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Overridable Property BackgroundImage As Image

C#   

public virtual Image BackgroundImage { get; set; }

C++   

public: property virtual Image^ BackgroundImage {
        Image^ get();
        void set(Image^ value);
}

Property Value

An Image that represents the image to display in the background of the control or null/Nothing to omit the background image.

The default value is null/Nothing.

Comments

The BackgroundImage property defines the background image.

The background image does not support transparent or semi-transparent images. There is no default background image.

If the BackgroundImage property defines an image, it is displayed as the tab control's background inside the border of the tab control (including the tabs and client area). If the background bitmap is too small to fill the entire area, it is tiled.

If the tab control uses Windows themes, the BackgroundImage property has no effect.

If the background image should extend into the tab pages, the SftTabsPanel control must be used. If the Panel control is used instead, background images and TabClass.ClientAreaColor settings cannot be honored.

If the TabClass.BackColor and BackColorSelected properties define a tab background color, they override the background bitmap and the tab uses the specified background color instead.

If the TabClass.ClientAreaColor property defines a client area color, it overrides the background bitmap and the client area uses the specified background color instead.

Sample background images can be found in the product directory \Program Files\Softelvdm\SftTabs NET 6.0\Images.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com